package com.example.constant;

/**
 * @Program: ishop
 * @ClassName: NumContant
 * @Description: 数值常量类
 **/
public class NumConstant {

    /**
     * 消息放入回收站
     */
    public static int MESSAGE_NOT_READ = 0;
    /**
     * 消息放入回收站
     */
    public static int MESSAGE_ALREADY_REMOVE = 2;
    /**
     * 消息已读
     */
    public static int  MESSAGE_ALREADY_READY = 1;
    //轮播图启用和禁用
    public static int SWIPER_DISABLE = 0;
    public static int SWIPER_ENABLE = 1;

    //通用状态
    public static int STATUS_DISABLE = 0;
    public static int STATUS_ENABLE = 1;

    //订单状态常量，自上而下分别为：1：创建未支付 2：已支付待发货 3：已发货待收货 4：已收货 5：已完成 6：已取消
    public static final int ORDER_STATUS_UNPAY = 1; // 创建未支付
    public static final int ORDER_STATUS_PAYED = 2; // 已支付待发货
    public static final int ORDER_STATUS_AWAITING = 3; // 已发货待收货
    public static final int ORDER_STATUS_RECEIVED = 4; // 已收货
    public static final int ORDER_STATUS_COMPLETED = 5; // 已完成
    public static final int ORDER_STATUS_CANCELLED = 6; // 已取消

    //收藏
    public static final int OPERATION_COLLECT = 1;
    //取消收藏
    public static final int OPERATION_CANCEL = 2;

    //好评、中评、差评
    public static final int COMMENT_GOOD = 1;
    public static final int COMMENT_MIDDLE = 2;
    public static final int COMMENT_BAD = 3;

    //平台ID
    public static final String PLATFORM_ID = "0";
}